package com.zj.common;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.zj.common.req.BusinessContent;
import com.zj.common.req.ContentControl;
import com.zj.common.req.Identity;
import com.zj.common.req.ParamList;
import com.zj.common.req.ReturnState;

@XStreamAlias("tiripPackage")
public class TiripPackage {
	@XStreamAsAttribute
	private String version="1.0";
	@XStreamAsAttribute
	private String xmlns="http://www.chinatax.gov.cn/tirip/dataspec";
	private Identity identity;
	private ContentControl contentControl;
	private List<ParamList> routerSession;
	private BusinessContent businessContent;
	private ReturnState returnState;

	
	public String getXmlns() {
		return xmlns;
	}
	public void setXmlns(String xmlns) {
		this.xmlns = xmlns;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public Identity getIdentity() {
		return identity;
	}
	public void setIdentity(Identity identity) {
		this.identity = identity;
	}
	
  	public ContentControl getContentControl() {
		return contentControl;
	}
	public void setContentControl(ContentControl contentControl) {
		this.contentControl = contentControl;
	}
	
	
	public List<ParamList> getRouterSession() {
		return routerSession;
	}
	public void setRouterSession(List<ParamList> routerSession) {
		this.routerSession = routerSession;
	}
	public ReturnState getReturnState() {
		return returnState;
	}
	public void setReturnState(ReturnState returnState) {
		this.returnState = returnState;
	}

	 @XmlElement(name="businessContent")  	
	public BusinessContent getBusinessContent() {
		return businessContent;
	}
	public void setBusinessContent(BusinessContent businessContent) {
		this.businessContent = businessContent;
	}

}
